package org.scorpio.account.pojo.exception;

import org.scorpio.account.pojo.constant.LoginStatusEnum;

/**
 * <p>
 * Title:LoginFailedException
 * </p>
 * <p>
 * Description:登录失败自定义异常
 * </p>
 * <p>
 * Company:
 * </p>
 * 
 * @author Li Enbo
 * @date 2017年11月7日下午5:32:57
 */
public class LoginFailedException extends RuntimeException {

	private static final long serialVersionUID = 2489881828074622855L;

	public LoginFailedException(String msg) {
		super(msg);
	}

	/**
	 * 构造函数
	 * 
	 * @param loginStatusEnum
	 *            登录状态枚举类型
	 */
	public LoginFailedException(LoginStatusEnum loginStatusEnum) {
		super(loginStatusEnum.getMsg());
	}
}
